home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
CIncludes
/
HIDialogs.xh
< prev
next >
Wrap
Text File
|
1996-05-01
|
123KB
|
4,091 lines
/*
* This file was generated by the SOM Compiler.
* FileName: HIDialogs.xh.
* Generated using:
* SOM Precompiler somipc: 2.18
* SOM Emitter emitxh.dll: 2.33
*/
#ifndef SOM_HIDialog_xh
#define SOM_HIDialog_xh
class HIDialog;
#define HIDialog_MajorVersion 0
#define HIDialog_MinorVersion 0
/*
* Passthru lines: File: "C.xh", "before"
*/
#include <Types.h>
#include <HIDialogTypes.h>
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIRootPanel_xh
#include <HIEmbeddingPanels.xh>
#endif
#ifndef HIDialog_API
#define HIDialog_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
class SOMClass;
class SOMObject;
class HIWindow;
class HIEmbeddingPanel;
class HIPushButton;
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIDialogCClassData HIDialogClassData
#define HIDialogNewClass(major,minor) somNewVersionedClassReference(HIDialog,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIDialogMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HIDialog class object, and the methods it introduces. */
SOMEXTERN struct HIDialogClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitDialog;
somMToken GetDefaultPushButton;
somMToken SetDefaultPushButton;
somMToken GetCancelPushButton;
somMToken SetCancelPushButton;
somMToken SetDismissingSubPanel;
somMToken IsDismissingSubPanel;
somMToken GetNextUserInputFocussedSubPanel;
somMToken Dismiss;
} SOMDLINK HIDialogClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIDialog_Class_Source) && !defined(SOM_Module_hidialogs_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIDialogClassData
#endif
#endif
/*
* -- Typedefs for HIDialog Method Procedures
*/
SOMEXTERN {
typedef OSStatus (* SOMLINK somTD_HIDialog_InitDialog)(HIDialog *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window);
typedef OSStatus (* SOMLINK somTD_HIDialog_SetDefaultPushButton)(HIDialog *somSelf, Environment *ev,
HIPushButton* defaultSubPanel,
boolean isDismissing);
typedef HIPushButton* (* SOMLINK somTD_HIDialog_GetDefaultPushButton)(HIDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIDialog_SetCancelPushButton)(HIDialog *somSelf, Environment *ev,
HIPushButton* cancelSubPanel,
boolean isDismissing);
typedef HIPushButton* (* SOMLINK somTD_HIDialog_GetCancelPushButton)(HIDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIDialog_SetDismissingSubPanel)(HIDialog *somSelf, Environment *ev,
HIPushButton* subPanel,
boolean isDismissing);
typedef boolean (* SOMLINK somTD_HIDialog_IsDismissingSubPanel)(HIDialog *somSelf, Environment *ev,
HIPushButton* subPanel);
typedef HIPanel* (* SOMLINK somTD_HIDialog_GetNextUserInputFocussedSubPanel)(HIDialog *somSelf, Environment *ev,
boolean goingBackwards);
typedef boolean (* SOMLINK somTD_HIDialog_Dismiss)(HIDialog *somSelf, Environment *ev);
/*
* -- Typedefs for Inherited Methods
*/
typedef OSStatus (* SOMLINK somTD_HIDialog_InitRootPanel)(HIDialog *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window);
typedef void (* SOMLINK somTD_HIDialog_AdjustAccumulatedEraseRgn)(HIDialog *somSelf, Environment *ev,
HIAccumulatorOperation accumulatorOperation,
Rect* oldRectangle,
Rect* newRectangle);
typedef void (* SOMLINK somTD_HIDialog_EraseAccumulatedEraseRgn)(HIDialog *somSelf, Environment *ev,
CGrafPtr targetPort);
typedef ItemCount (* SOMLINK somTD_HIDialog_GetSubPanelCount)(HIDialog *somSelf, Environment *ev);
typedef HIPanel* (* SOMLINK somTD_HIDialog_GetLastSelectedSubPanel)(HIDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIDialog_InitEmbeddingPanel)(HIDialog *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIDialog_AddSubPanel)(HIDialog *somSelf, Environment *ev,
HIPanel* subPanel,
HISubPanelIndex where,
HIAdoptionFlags adoptionFlags,
HIFrameBindingFlags frameBindingFlags);
typedef OSStatus (* SOMLINK somTD_HIDialog_RemoveSubPanel)(HIDialog *somSelf, Environment *ev,
HIPanel* subPanel);
typedef HIPanel* (* SOMLINK somTD_HIDialog_GetSubPanel)(HIDialog *somSelf, Environment *ev,
HISubPanelIndex subPanelIndex);
typedef HIPanel* (* SOMLINK somTD_HIDialog_GetUserInputFocusSubPanel)(HIDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIDialog_SetUserInputFocusSubPanel)(HIDialog *somSelf, Environment *ev,
HIPanel* subPanel);
typedef HISubPanelIndex (* SOMLINK somTD_HIDialog_GetSubPanelIndex)(HIDialog *somSelf, Environment *ev,
HIPanel* subPanel);
typedef OSStatus (* SOMLINK somTD_HIDialog_GetSubPanelsFromRefLabel)(HIDialog *somSelf, Environment *ev,
RefLabel* identifier,
boolean deep,
ItemCount requestedSubPanels,
ItemCount* totalSubPanels,
HIPanel** thePanels);
typedef HIEmbeddingPanel* (* SOMLINK somTD_HIDialog_GetEmbeddingParent)(HIDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIDialog_InitPanel)(HIDialog *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIDialog_RegisterInterestInAppleEvent)(HIDialog *somSelf, Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting);
typedef boolean (* SOMLINK somTD_HIDialog_HasValidContent)(HIDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIDialog_GetDeepCollectionItemData)(HIDialog *somSelf, Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData);
typedef HIWindow* (* SOMLINK somTD_HIDialog_GetWindow)(HIDialog *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HIDialog_GetPort)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_GetRefLabel)(HIDialog *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HIDialog_GetCollection)(HIDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIDialog_Init)(HIDialog *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIDialog_Terminate)(HIDialog *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HIDialog_Clone)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_Release)(HIDialog *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HIDialog_GetOwnerCount)(HIDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIDialog_InitFromAERecord)(HIDialog *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HIDialog_WriteToAERecord)(HIDialog *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HIDialog_CalculateOptimalSize)(HIDialog *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HIDialog_GetBoundingRect)(HIDialog *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIDialog_SetBoundingRect)(HIDialog *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HIDialog_SetPosition)(HIDialog *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HIDialog_SetSize)(HIDialog *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HIDialog_GetUpdateRect)(HIDialog *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HIDialog_Enable)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_Disable)(HIDialog *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIDialog_IsEnabled)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_Show)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_Hide)(HIDialog *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIDialog_IsVisible)(HIDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIDialog_HandleAppleEvent)(HIDialog *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIDialog_HandleActivate)(HIDialog *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIDialog_HandleDeactivate)(HIDialog *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIDialog_HandleNavigation)(HIDialog *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIDialog_HandleMouseDownInContent)(HIDialog *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIDialog_HandleMouseMovedInContent)(HIDialog *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIDialog_HandleMouseStoppedMovingInContent)(HIDialog *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIDialog_HandleMouseUpInContent)(HIDialog *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIDialog_TakeUserInputFocus)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_ReleaseUserInputFocus)(HIDialog *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIDialog_HasUserInputFocus)(HIDialog *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIDialog_CanReleaseUserInputFocus)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_SetUserInputFocusFlags)(HIDialog *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HIDialog_GetUserInputFocusFlags)(HIDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIDialog_SetTitle)(HIDialog *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIDialog_GetTitle)(HIDialog *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HIDialog_Draw)(HIDialog *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIDialog_Erase)(HIDialog *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HIDialog_Invalidate)(HIDialog *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HIDialog_GetDrawingMode)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_SetDrawingMode)(HIDialog *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HIDialog_SetBackgroundPattern)(HIDialog *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HIDialog_GetBackgroundPattern)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_Cut)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_Copy)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_Paste)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_Clear)(HIDialog *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HIDialog_GetClipboardSupportFlags)(HIDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIDialog_AddStateChangeCallback)(HIDialog *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HIDialog_RemoveStateChangeCallback)(HIDialog *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HIDialog_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HIDialog_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HIDialog_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HIDialog_DrawContent)(HIDialog *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIDialog_EraseContent)(HIDialog *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HIDialog_TranslatePoint)(HIDialog *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HIDialog_TranslateRect)(HIDialog *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HIDialog_StateChanged)(HIDialog *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HIDialog_SetClipboardSupportFlags)(HIDialog *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HIDialog_Verify)(HIDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIDialog_somInit)(HIDialog *somSelf);
typedef void (* SOMLINK somTD_HIDialog_somUninit)(HIDialog *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIDialog_somDuplicateReference)(HIDialog *somSelf);
typedef boolean (* SOMLINK somTD_HIDialog_somCompareReference)(HIDialog *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HIDialog_somRelease)(HIDialog *somSelf);
typedef void (* SOMLINK somTD_HIDialog_somFree)(HIDialog *somSelf);
typedef boolean (* SOMLINK somTD_HIDialog_somCanDelete)(HIDialog *somSelf);
typedef SOMClass* (* SOMLINK somTD_HIDialog_somGetClass)(HIDialog *somSelf);
typedef corbastring (* SOMLINK somTD_HIDialog_somGetClassName)(HIDialog *somSelf);
typedef long (* SOMLINK somTD_HIDialog_somGetSize)(HIDialog *somSelf);
typedef boolean (* SOMLINK somTD_HIDialog_somIsA)(HIDialog *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIDialog_somRespondsTo)(HIDialog *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HIDialog_somIsInstanceOf)(HIDialog *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIDialog_somDispatch)(HIDialog *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIDialog_somClassDispatch)(HIDialog *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIDialog_somCastObj)(HIDialog *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HIDialog_somResetObj)(HIDialog *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIDialog_somPrintSelf)(HIDialog *somSelf);
typedef void (* SOMLINK somTD_HIDialog_somDumpSelf)(HIDialog *somSelf,
long level);
typedef void (* SOMLINK somTD_HIDialog_somDumpSelfInt)(HIDialog *somSelf,
long level);
}
#endif /* HIDialog_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HIDialog
*/
class HIDialog : public HIRootPanel
{
public:
// HIDialog::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HIDialog, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HIDialog);
}
// HIDialog::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: InitDialog */
OSStatus InitDialog(Environment *ev,
RefLabel* identifier,
HIWindow* window)
{
return SOM_ResolveD(this,HIDialog,HIDialog,InitDialog)
(this,ev,identifier,window);
}
/* method: SetDefaultPushButton */
OSStatus SetDefaultPushButton(Environment *ev,
HIPushButton* defaultSubPanel,
boolean isDismissing)
{
return SOM_ResolveD(this,HIDialog,HIDialog,SetDefaultPushButton)
(this,ev,defaultSubPanel,isDismissing);
}
/* method: GetDefaultPushButton */
HIPushButton* GetDefaultPushButton(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIDialog,GetDefaultPushButton)
(this,ev);
}
/* method: SetCancelPushButton */
OSStatus SetCancelPushButton(Environment *ev,
HIPushButton* cancelSubPanel,
boolean isDismissing)
{
return SOM_ResolveD(this,HIDialog,HIDialog,SetCancelPushButton)
(this,ev,cancelSubPanel,isDismissing);
}
/* method: GetCancelPushButton */
HIPushButton* GetCancelPushButton(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIDialog,GetCancelPushButton)
(this,ev);
}
/* method: SetDismissingSubPanel */
OSStatus SetDismissingSubPanel(Environment *ev,
HIPushButton* subPanel,
boolean isDismissing)
{
return SOM_ResolveD(this,HIDialog,HIDialog,SetDismissingSubPanel)
(this,ev,subPanel,isDismissing);
}
/* method: IsDismissingSubPanel */
boolean IsDismissingSubPanel(Environment *ev,
HIPushButton* subPanel)
{
return SOM_ResolveD(this,HIDialog,HIDialog,IsDismissingSubPanel)
(this,ev,subPanel);
}
/* method: GetNextUserInputFocussedSubPanel */
HIPanel* GetNextUserInputFocussedSubPanel(Environment *ev,
boolean goingBackwards)
{
return SOM_ResolveD(this,HIDialog,HIDialog,GetNextUserInputFocussedSubPanel)
(this,ev,goingBackwards);
}
/* method: Dismiss */
boolean Dismiss(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIDialog,Dismiss)
(this,ev);
}
/*
* -- Inherited methods
*/
/* method: InitRootPanel */
OSStatus InitRootPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window)
{
return SOM_ResolveD(this,HIDialog,HIRootPanel,InitRootPanel)
(this,ev,identifier,window);
}
/* method: AdjustAccumulatedEraseRgn */
void AdjustAccumulatedEraseRgn(Environment *ev,
HIAccumulatorOperation accumulatorOperation,
Rect* oldRectangle,
Rect* newRectangle)
{
SOM_ResolveD(this,HIDialog,HIRootPanel,AdjustAccumulatedEraseRgn)
(this,ev,accumulatorOperation,oldRectangle,newRectangle);
}
/* method: EraseAccumulatedEraseRgn */
void EraseAccumulatedEraseRgn(Environment *ev,
CGrafPtr targetPort)
{
SOM_ResolveD(this,HIDialog,HIRootPanel,EraseAccumulatedEraseRgn)
(this,ev,targetPort);
}
/* method: GetSubPanelCount */
ItemCount GetSubPanelCount(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIEmbeddingPanel,GetSubPanelCount)
(this,ev);
}
/* method: GetLastSelectedSubPanel */
HIPanel* GetLastSelectedSubPanel(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIEmbeddingPanel,GetLastSelectedSubPanel)
(this,ev);
}
/* method: InitEmbeddingPanel */
OSStatus InitEmbeddingPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIDialog,HIEmbeddingPanel,InitEmbeddingPanel)
(this,ev,identifier,window,bounds);
}
/* method: AddSubPanel */
OSStatus AddSubPanel(Environment *ev,
HIPanel* subPanel,
HISubPanelIndex where,
HIAdoptionFlags adoptionFlags,
HIFrameBindingFlags frameBindingFlags)
{
return SOM_ResolveD(this,HIDialog,HIEmbeddingPanel,AddSubPanel)
(this,ev,subPanel,where,adoptionFlags,frameBindingFlags);
}
/* method: RemoveSubPanel */
OSStatus RemoveSubPanel(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIDialog,HIEmbeddingPanel,RemoveSubPanel)
(this,ev,subPanel);
}
/* method: GetSubPanel */
HIPanel* GetSubPanel(Environment *ev,
HISubPanelIndex subPanelIndex)
{
return SOM_ResolveD(this,HIDialog,HIEmbeddingPanel,GetSubPanel)
(this,ev,subPanelIndex);
}
/* method: GetUserInputFocusSubPanel */
HIPanel* GetUserInputFocusSubPanel(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIEmbeddingPanel,GetUserInputFocusSubPanel)
(this,ev);
}
/* method: SetUserInputFocusSubPanel */
OSStatus SetUserInputFocusSubPanel(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIDialog,HIEmbeddingPanel,SetUserInputFocusSubPanel)
(this,ev,subPanel);
}
/* method: GetSubPanelIndex */
HISubPanelIndex GetSubPanelIndex(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIDialog,HIEmbeddingPanel,GetSubPanelIndex)
(this,ev,subPanel);
}
/* method: GetSubPanelsFromRefLabel */
OSStatus GetSubPanelsFromRefLabel(Environment *ev,
RefLabel* identifier,
boolean deep,
ItemCount requestedSubPanels,
ItemCount* totalSubPanels,
HIPanel** thePanels)
{
return SOM_ResolveD(this,HIDialog,HIEmbeddingPanel,GetSubPanelsFromRefLabel)
(this,ev,identifier,deep,requestedSubPanels,totalSubPanels,thePanels);
}
/* method: GetEmbeddingParent */
HIEmbeddingPanel* GetEmbeddingParent(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIPanel,GetEmbeddingParent)
(this,ev);
}
/* method: InitPanel */
OSStatus InitPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIDialog,HIPanel,InitPanel)
(this,ev,identifier,window,bounds);
}
/* method: RegisterInterestInAppleEvent */
OSStatus RegisterInterestInAppleEvent(Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting)
{
return SOM_ResolveD(this,HIDialog,HIPanel,RegisterInterestInAppleEvent)
(this,ev,table,eventClass,eventID,eventRouting);
}
/* method: HasValidContent */
boolean HasValidContent(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIPanel,HasValidContent)
(this,ev);
}
/* method: GetDeepCollectionItemData */
OSStatus GetDeepCollectionItemData(Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData)
{
return SOM_ResolveD(this,HIDialog,HIPanel,GetDeepCollectionItemData)
(this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
}
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HIDialog,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HIDialog,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIDialog,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIDialog,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HIDialog,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HIDialog,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HIDialog,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HIDialog,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HIDialog,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HIDialog,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIDialog,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIDialog,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIDialog,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIDialog,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIDialog,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIDialog,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIDialog,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIDialog,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HIDialog,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HIDialog,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HIDialog,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIDialog,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HIDialog,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HIDialog,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HIDialog,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HIDialog,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HIDialog,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HIDialog,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HIDialog_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HIDialog_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HIDialog_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIDialog,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HIDialog,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HIDialog,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HIDialog,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HIDialog,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HIDialog,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HIDialog,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HIDialog,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HIDialog,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HIDialog,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HIDialog,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HIDialog,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HIDialog,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HIDialog,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HIDialog,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HIDialog,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HIDialog,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIDialog,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HIDialog,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIDialog,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HIDialog_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIDialog,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIDialog,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HIDialog_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIDialog,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIDialog,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HIDialog,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HIDialog,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HIDialog,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HIDialog,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HIDialog,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HIDialog */
#endif /* SOM_HIDialog_xh */
#ifndef SOM_HIModalDialog_xh
#define SOM_HIModalDialog_xh
class HIModalDialog;
#define HIModalDialog_MajorVersion 0
#define HIModalDialog_MinorVersion 0
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIDialog_xh
#include <HIDialogs.xh>
#endif
#ifndef HIModalDialog_API
#define HIModalDialog_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIModalDialogCClassData HIModalDialogClassData
#define HIModalDialogNewClass(major,minor) somNewVersionedClassReference(HIModalDialog,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIModalDialogMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HIModalDialog class object, and the methods it introduces. */
SOMEXTERN struct HIModalDialogClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitModalDialog;
somMToken ExecuteModality;
somMToken GetModalAEHandlerTable;
} SOMDLINK HIModalDialogClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIModalDialog_Class_Source) && !defined(SOM_Module_hidialogs_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIModalDialogClassData
#endif
#endif
/*
* -- Typedefs for HIModalDialog Method Procedures
*/
SOMEXTERN {
typedef OSStatus (* SOMLINK somTD_HIModalDialog_InitModalDialog)(HIModalDialog *somSelf, Environment *ev,
RefLabel* identifier,
Rect* screenBounds,
boolean moveable);
typedef AEHandlerTableRef (* SOMLINK somTD_HIModalDialog_GetModalAEHandlerTable)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_ExecuteModality)(HIModalDialog *somSelf, Environment *ev);
/*
* -- Typedefs for Inherited Methods
*/
typedef OSStatus (* SOMLINK somTD_HIModalDialog_InitDialog)(HIModalDialog *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_SetDefaultPushButton)(HIModalDialog *somSelf, Environment *ev,
HIPushButton* defaultSubPanel,
boolean isDismissing);
typedef HIPushButton* (* SOMLINK somTD_HIModalDialog_GetDefaultPushButton)(HIModalDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_SetCancelPushButton)(HIModalDialog *somSelf, Environment *ev,
HIPushButton* cancelSubPanel,
boolean isDismissing);
typedef HIPushButton* (* SOMLINK somTD_HIModalDialog_GetCancelPushButton)(HIModalDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_SetDismissingSubPanel)(HIModalDialog *somSelf, Environment *ev,
HIPushButton* subPanel,
boolean isDismissing);
typedef boolean (* SOMLINK somTD_HIModalDialog_IsDismissingSubPanel)(HIModalDialog *somSelf, Environment *ev,
HIPushButton* subPanel);
typedef HIPanel* (* SOMLINK somTD_HIModalDialog_GetNextUserInputFocussedSubPanel)(HIModalDialog *somSelf, Environment *ev,
boolean goingBackwards);
typedef boolean (* SOMLINK somTD_HIModalDialog_Dismiss)(HIModalDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_InitRootPanel)(HIModalDialog *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window);
typedef void (* SOMLINK somTD_HIModalDialog_AdjustAccumulatedEraseRgn)(HIModalDialog *somSelf, Environment *ev,
HIAccumulatorOperation accumulatorOperation,
Rect* oldRectangle,
Rect* newRectangle);
typedef void (* SOMLINK somTD_HIModalDialog_EraseAccumulatedEraseRgn)(HIModalDialog *somSelf, Environment *ev,
CGrafPtr targetPort);
typedef ItemCount (* SOMLINK somTD_HIModalDialog_GetSubPanelCount)(HIModalDialog *somSelf, Environment *ev);
typedef HIPanel* (* SOMLINK somTD_HIModalDialog_GetLastSelectedSubPanel)(HIModalDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_InitEmbeddingPanel)(HIModalDialog *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_AddSubPanel)(HIModalDialog *somSelf, Environment *ev,
HIPanel* subPanel,
HISubPanelIndex where,
HIAdoptionFlags adoptionFlags,
HIFrameBindingFlags frameBindingFlags);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_RemoveSubPanel)(HIModalDialog *somSelf, Environment *ev,
HIPanel* subPanel);
typedef HIPanel* (* SOMLINK somTD_HIModalDialog_GetSubPanel)(HIModalDialog *somSelf, Environment *ev,
HISubPanelIndex subPanelIndex);
typedef HIPanel* (* SOMLINK somTD_HIModalDialog_GetUserInputFocusSubPanel)(HIModalDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_SetUserInputFocusSubPanel)(HIModalDialog *somSelf, Environment *ev,
HIPanel* subPanel);
typedef HISubPanelIndex (* SOMLINK somTD_HIModalDialog_GetSubPanelIndex)(HIModalDialog *somSelf, Environment *ev,
HIPanel* subPanel);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_GetSubPanelsFromRefLabel)(HIModalDialog *somSelf, Environment *ev,
RefLabel* identifier,
boolean deep,
ItemCount requestedSubPanels,
ItemCount* totalSubPanels,
HIPanel** thePanels);
typedef HIEmbeddingPanel* (* SOMLINK somTD_HIModalDialog_GetEmbeddingParent)(HIModalDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_InitPanel)(HIModalDialog *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_RegisterInterestInAppleEvent)(HIModalDialog *somSelf, Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting);
typedef boolean (* SOMLINK somTD_HIModalDialog_HasValidContent)(HIModalDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_GetDeepCollectionItemData)(HIModalDialog *somSelf, Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData);
typedef HIWindow* (* SOMLINK somTD_HIModalDialog_GetWindow)(HIModalDialog *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HIModalDialog_GetPort)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_GetRefLabel)(HIModalDialog *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HIModalDialog_GetCollection)(HIModalDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_Init)(HIModalDialog *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIModalDialog_Terminate)(HIModalDialog *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HIModalDialog_Clone)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_Release)(HIModalDialog *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HIModalDialog_GetOwnerCount)(HIModalDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_InitFromAERecord)(HIModalDialog *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_WriteToAERecord)(HIModalDialog *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HIModalDialog_CalculateOptimalSize)(HIModalDialog *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HIModalDialog_GetBoundingRect)(HIModalDialog *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIModalDialog_SetBoundingRect)(HIModalDialog *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HIModalDialog_SetPosition)(HIModalDialog *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HIModalDialog_SetSize)(HIModalDialog *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HIModalDialog_GetUpdateRect)(HIModalDialog *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HIModalDialog_Enable)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_Disable)(HIModalDialog *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIModalDialog_IsEnabled)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_Show)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_Hide)(HIModalDialog *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIModalDialog_IsVisible)(HIModalDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_HandleAppleEvent)(HIModalDialog *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_HandleActivate)(HIModalDialog *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_HandleDeactivate)(HIModalDialog *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_HandleNavigation)(HIModalDialog *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_HandleMouseDownInContent)(HIModalDialog *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_HandleMouseMovedInContent)(HIModalDialog *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_HandleMouseStoppedMovingInContent)(HIModalDialog *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_HandleMouseUpInContent)(HIModalDialog *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIModalDialog_TakeUserInputFocus)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_ReleaseUserInputFocus)(HIModalDialog *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIModalDialog_HasUserInputFocus)(HIModalDialog *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIModalDialog_CanReleaseUserInputFocus)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_SetUserInputFocusFlags)(HIModalDialog *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HIModalDialog_GetUserInputFocusFlags)(HIModalDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_SetTitle)(HIModalDialog *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_GetTitle)(HIModalDialog *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HIModalDialog_Draw)(HIModalDialog *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIModalDialog_Erase)(HIModalDialog *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HIModalDialog_Invalidate)(HIModalDialog *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HIModalDialog_GetDrawingMode)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_SetDrawingMode)(HIModalDialog *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HIModalDialog_SetBackgroundPattern)(HIModalDialog *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HIModalDialog_GetBackgroundPattern)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_Cut)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_Copy)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_Paste)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_Clear)(HIModalDialog *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HIModalDialog_GetClipboardSupportFlags)(HIModalDialog *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_AddStateChangeCallback)(HIModalDialog *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_RemoveStateChangeCallback)(HIModalDialog *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HIModalDialog_DrawContent)(HIModalDialog *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIModalDialog_EraseContent)(HIModalDialog *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HIModalDialog_TranslatePoint)(HIModalDialog *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HIModalDialog_TranslateRect)(HIModalDialog *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HIModalDialog_StateChanged)(HIModalDialog *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HIModalDialog_SetClipboardSupportFlags)(HIModalDialog *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HIModalDialog_Verify)(HIModalDialog *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIModalDialog_somInit)(HIModalDialog *somSelf);
typedef void (* SOMLINK somTD_HIModalDialog_somUninit)(HIModalDialog *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIModalDialog_somDuplicateReference)(HIModalDialog *somSelf);
typedef boolean (* SOMLINK somTD_HIModalDialog_somCompareReference)(HIModalDialog *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HIModalDialog_somRelease)(HIModalDialog *somSelf);
typedef void (* SOMLINK somTD_HIModalDialog_somFree)(HIModalDialog *somSelf);
typedef boolean (* SOMLINK somTD_HIModalDialog_somCanDelete)(HIModalDialog *somSelf);
typedef SOMClass* (* SOMLINK somTD_HIModalDialog_somGetClass)(HIModalDialog *somSelf);
typedef corbastring (* SOMLINK somTD_HIModalDialog_somGetClassName)(HIModalDialog *somSelf);
typedef long (* SOMLINK somTD_HIModalDialog_somGetSize)(HIModalDialog *somSelf);
typedef boolean (* SOMLINK somTD_HIModalDialog_somIsA)(HIModalDialog *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIModalDialog_somRespondsTo)(HIModalDialog *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HIModalDialog_somIsInstanceOf)(HIModalDialog *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIModalDialog_somDispatch)(HIModalDialog *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIModalDialog_somClassDispatch)(HIModalDialog *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIModalDialog_somCastObj)(HIModalDialog *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HIModalDialog_somResetObj)(HIModalDialog *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIModalDialog_somPrintSelf)(HIModalDialog *somSelf);
typedef void (* SOMLINK somTD_HIModalDialog_somDumpSelf)(HIModalDialog *somSelf,
long level);
typedef void (* SOMLINK somTD_HIModalDialog_somDumpSelfInt)(HIModalDialog *somSelf,
long level);
}
#endif /* HIModalDialog_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HIModalDialog
*/
class HIModalDialog : public HIDialog
{
public:
// HIModalDialog::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HIModalDialog, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HIModalDialog);
}
// HIModalDialog::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: InitModalDialog */
OSStatus InitModalDialog(Environment *ev,
RefLabel* identifier,
Rect* screenBounds,
boolean moveable)
{
return SOM_ResolveD(this,HIModalDialog,HIModalDialog,InitModalDialog)
(this,ev,identifier,screenBounds,moveable);
}
/* method: GetModalAEHandlerTable */
AEHandlerTableRef GetModalAEHandlerTable(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIModalDialog,GetModalAEHandlerTable)
(this,ev);
}
/* method: ExecuteModality */
void ExecuteModality(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIModalDialog,ExecuteModality)
(this,ev);
}
/*
* -- Inherited methods
*/
/* method: InitDialog */
OSStatus InitDialog(Environment *ev,
RefLabel* identifier,
HIWindow* window)
{
return SOM_ResolveD(this,HIModalDialog,HIDialog,InitDialog)
(this,ev,identifier,window);
}
/* method: SetDefaultPushButton */
OSStatus SetDefaultPushButton(Environment *ev,
HIPushButton* defaultSubPanel,
boolean isDismissing)
{
return SOM_ResolveD(this,HIModalDialog,HIDialog,SetDefaultPushButton)
(this,ev,defaultSubPanel,isDismissing);
}
/* method: GetDefaultPushButton */
HIPushButton* GetDefaultPushButton(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIDialog,GetDefaultPushButton)
(this,ev);
}
/* method: SetCancelPushButton */
OSStatus SetCancelPushButton(Environment *ev,
HIPushButton* cancelSubPanel,
boolean isDismissing)
{
return SOM_ResolveD(this,HIModalDialog,HIDialog,SetCancelPushButton)
(this,ev,cancelSubPanel,isDismissing);
}
/* method: GetCancelPushButton */
HIPushButton* GetCancelPushButton(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIDialog,GetCancelPushButton)
(this,ev);
}
/* method: SetDismissingSubPanel */
OSStatus SetDismissingSubPanel(Environment *ev,
HIPushButton* subPanel,
boolean isDismissing)
{
return SOM_ResolveD(this,HIModalDialog,HIDialog,SetDismissingSubPanel)
(this,ev,subPanel,isDismissing);
}
/* method: IsDismissingSubPanel */
boolean IsDismissingSubPanel(Environment *ev,
HIPushButton* subPanel)
{
return SOM_ResolveD(this,HIModalDialog,HIDialog,IsDismissingSubPanel)
(this,ev,subPanel);
}
/* method: GetNextUserInputFocussedSubPanel */
HIPanel* GetNextUserInputFocussedSubPanel(Environment *ev,
boolean goingBackwards)
{
return SOM_ResolveD(this,HIModalDialog,HIDialog,GetNextUserInputFocussedSubPanel)
(this,ev,goingBackwards);
}
/* method: Dismiss */
boolean Dismiss(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIDialog,Dismiss)
(this,ev);
}
/* method: InitRootPanel */
OSStatus InitRootPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window)
{
return SOM_ResolveD(this,HIModalDialog,HIRootPanel,InitRootPanel)
(this,ev,identifier,window);
}
/* method: AdjustAccumulatedEraseRgn */
void AdjustAccumulatedEraseRgn(Environment *ev,
HIAccumulatorOperation accumulatorOperation,
Rect* oldRectangle,
Rect* newRectangle)
{
SOM_ResolveD(this,HIModalDialog,HIRootPanel,AdjustAccumulatedEraseRgn)
(this,ev,accumulatorOperation,oldRectangle,newRectangle);
}
/* method: EraseAccumulatedEraseRgn */
void EraseAccumulatedEraseRgn(Environment *ev,
CGrafPtr targetPort)
{
SOM_ResolveD(this,HIModalDialog,HIRootPanel,EraseAccumulatedEraseRgn)
(this,ev,targetPort);
}
/* method: GetSubPanelCount */
ItemCount GetSubPanelCount(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIEmbeddingPanel,GetSubPanelCount)
(this,ev);
}
/* method: GetLastSelectedSubPanel */
HIPanel* GetLastSelectedSubPanel(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIEmbeddingPanel,GetLastSelectedSubPanel)
(this,ev);
}
/* method: InitEmbeddingPanel */
OSStatus InitEmbeddingPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIModalDialog,HIEmbeddingPanel,InitEmbeddingPanel)
(this,ev,identifier,window,bounds);
}
/* method: AddSubPanel */
OSStatus AddSubPanel(Environment *ev,
HIPanel* subPanel,
HISubPanelIndex where,
HIAdoptionFlags adoptionFlags,
HIFrameBindingFlags frameBindingFlags)
{
return SOM_ResolveD(this,HIModalDialog,HIEmbeddingPanel,AddSubPanel)
(this,ev,subPanel,where,adoptionFlags,frameBindingFlags);
}
/* method: RemoveSubPanel */
OSStatus RemoveSubPanel(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIModalDialog,HIEmbeddingPanel,RemoveSubPanel)
(this,ev,subPanel);
}
/* method: GetSubPanel */
HIPanel* GetSubPanel(Environment *ev,
HISubPanelIndex subPanelIndex)
{
return SOM_ResolveD(this,HIModalDialog,HIEmbeddingPanel,GetSubPanel)
(this,ev,subPanelIndex);
}
/* method: GetUserInputFocusSubPanel */
HIPanel* GetUserInputFocusSubPanel(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIEmbeddingPanel,GetUserInputFocusSubPanel)
(this,ev);
}
/* method: SetUserInputFocusSubPanel */
OSStatus SetUserInputFocusSubPanel(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIModalDialog,HIEmbeddingPanel,SetUserInputFocusSubPanel)
(this,ev,subPanel);
}
/* method: GetSubPanelIndex */
HISubPanelIndex GetSubPanelIndex(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIModalDialog,HIEmbeddingPanel,GetSubPanelIndex)
(this,ev,subPanel);
}
/* method: GetSubPanelsFromRefLabel */
OSStatus GetSubPanelsFromRefLabel(Environment *ev,
RefLabel* identifier,
boolean deep,
ItemCount requestedSubPanels,
ItemCount* totalSubPanels,
HIPanel** thePanels)
{
return SOM_ResolveD(this,HIModalDialog,HIEmbeddingPanel,GetSubPanelsFromRefLabel)
(this,ev,identifier,deep,requestedSubPanels,totalSubPanels,thePanels);
}
/* method: GetEmbeddingParent */
HIEmbeddingPanel* GetEmbeddingParent(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIPanel,GetEmbeddingParent)
(this,ev);
}
/* method: InitPanel */
OSStatus InitPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIModalDialog,HIPanel,InitPanel)
(this,ev,identifier,window,bounds);
}
/* method: RegisterInterestInAppleEvent */
OSStatus RegisterInterestInAppleEvent(Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting)
{
return SOM_ResolveD(this,HIModalDialog,HIPanel,RegisterInterestInAppleEvent)
(this,ev,table,eventClass,eventID,eventRouting);
}
/* method: HasValidContent */
boolean HasValidContent(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIPanel,HasValidContent)
(this,ev);
}
/* method: GetDeepCollectionItemData */
OSStatus GetDeepCollectionItemData(Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData)
{
return SOM_ResolveD(this,HIModalDialog,HIPanel,GetDeepCollectionItemData)
(this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
}
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HIModalDialog,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HIModalDialog,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HIModalDialog,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HIModalDialog,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HIModalDialog,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HIModalDialog,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HIModalDialog,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HIModalDialog,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HIModalDialog,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HIModalDialog,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HIModalDialog,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HIModalDialog_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HIModalDialog_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HIModalDialog_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIModalDialog,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HIModalDialog,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HIModalDialog,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HIModalDialog,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HIModalDialog,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HIModalDialog,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HIModalDialog,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HIModalDialog,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HIModalDialog,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HIModalDialog,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HIModalDialog_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIModalDialog,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HIModalDialog_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIModalDialog,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HIModalDialog,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HIModalDialog,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HIModalDialog,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HIModalDialog */
#endif /* SOM_HIModalDialog_xh */
#ifndef SOM_HIAlert_xh
#define SOM_HIAlert_xh
class HIAlert;
#define HIAlert_MajorVersion 0
#define HIAlert_MinorVersion 0
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_HIModalDialog_xh
#include <HIDialogs.xh>
#endif
#ifndef HIAlert_API
#define HIAlert_API
/*
* -- The Class API
*/
/*
* Start of user-defined types:
*/
/*
* End of user-defined types.
*/
#ifdef OLDIBMSOMAPISUPPORT
#define HIAlertCClassData HIAlertClassData
#define HIAlertNewClass(major,minor) somNewVersionedClassReference(HIAlert,major,minor)
#endif
/* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
#define HIAlertMetaClass SOMClass
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=power
#endif
/* The API to the HIAlert class object, and the methods it introduces. */
SOMEXTERN struct HIAlertClassDataStructure {
#ifdef OLDIBMSOMAPISUPPORT
SOMClass *classObject; /* always zero, use somNewClassReference instead */
#else
long zero;
#endif
somStaticClassInfo *sci;
somDToken instanceDataToken;
long reserved [3];
somMToken InitAlert;
} SOMDLINK HIAlertClassData;
#if PRAGMA_ALIGN_SUPPORTED
# pragma options align=reset
#endif
#if !defined(HIAlert_Class_Source) && !defined(SOM_Module_hidialogs_Source)
#if PRAGMA_IMPORT_SUPPORTED
#pragma import list HIAlertClassData
#endif
#endif
/*
* -- Typedefs for HIAlert Method Procedures
*/
SOMEXTERN {
typedef OSStatus (* SOMLINK somTD_HIAlert_InitAlert)(HIAlert *somSelf, Environment *ev,
RefLabel* identifier,
Rect* screenBounds,
HIAlertType alertType);
/*
* -- Typedefs for Inherited Methods
*/
typedef OSStatus (* SOMLINK somTD_HIAlert_InitModalDialog)(HIAlert *somSelf, Environment *ev,
RefLabel* identifier,
Rect* screenBounds,
boolean moveable);
typedef AEHandlerTableRef (* SOMLINK somTD_HIAlert_GetModalAEHandlerTable)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_ExecuteModality)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_InitDialog)(HIAlert *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window);
typedef OSStatus (* SOMLINK somTD_HIAlert_SetDefaultPushButton)(HIAlert *somSelf, Environment *ev,
HIPushButton* defaultSubPanel,
boolean isDismissing);
typedef HIPushButton* (* SOMLINK somTD_HIAlert_GetDefaultPushButton)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_SetCancelPushButton)(HIAlert *somSelf, Environment *ev,
HIPushButton* cancelSubPanel,
boolean isDismissing);
typedef HIPushButton* (* SOMLINK somTD_HIAlert_GetCancelPushButton)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_SetDismissingSubPanel)(HIAlert *somSelf, Environment *ev,
HIPushButton* subPanel,
boolean isDismissing);
typedef boolean (* SOMLINK somTD_HIAlert_IsDismissingSubPanel)(HIAlert *somSelf, Environment *ev,
HIPushButton* subPanel);
typedef HIPanel* (* SOMLINK somTD_HIAlert_GetNextUserInputFocussedSubPanel)(HIAlert *somSelf, Environment *ev,
boolean goingBackwards);
typedef boolean (* SOMLINK somTD_HIAlert_Dismiss)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_InitRootPanel)(HIAlert *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window);
typedef void (* SOMLINK somTD_HIAlert_AdjustAccumulatedEraseRgn)(HIAlert *somSelf, Environment *ev,
HIAccumulatorOperation accumulatorOperation,
Rect* oldRectangle,
Rect* newRectangle);
typedef void (* SOMLINK somTD_HIAlert_EraseAccumulatedEraseRgn)(HIAlert *somSelf, Environment *ev,
CGrafPtr targetPort);
typedef ItemCount (* SOMLINK somTD_HIAlert_GetSubPanelCount)(HIAlert *somSelf, Environment *ev);
typedef HIPanel* (* SOMLINK somTD_HIAlert_GetLastSelectedSubPanel)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_InitEmbeddingPanel)(HIAlert *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIAlert_AddSubPanel)(HIAlert *somSelf, Environment *ev,
HIPanel* subPanel,
HISubPanelIndex where,
HIAdoptionFlags adoptionFlags,
HIFrameBindingFlags frameBindingFlags);
typedef OSStatus (* SOMLINK somTD_HIAlert_RemoveSubPanel)(HIAlert *somSelf, Environment *ev,
HIPanel* subPanel);
typedef HIPanel* (* SOMLINK somTD_HIAlert_GetSubPanel)(HIAlert *somSelf, Environment *ev,
HISubPanelIndex subPanelIndex);
typedef HIPanel* (* SOMLINK somTD_HIAlert_GetUserInputFocusSubPanel)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_SetUserInputFocusSubPanel)(HIAlert *somSelf, Environment *ev,
HIPanel* subPanel);
typedef HISubPanelIndex (* SOMLINK somTD_HIAlert_GetSubPanelIndex)(HIAlert *somSelf, Environment *ev,
HIPanel* subPanel);
typedef OSStatus (* SOMLINK somTD_HIAlert_GetSubPanelsFromRefLabel)(HIAlert *somSelf, Environment *ev,
RefLabel* identifier,
boolean deep,
ItemCount requestedSubPanels,
ItemCount* totalSubPanels,
HIPanel** thePanels);
typedef HIEmbeddingPanel* (* SOMLINK somTD_HIAlert_GetEmbeddingParent)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_InitPanel)(HIAlert *somSelf, Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds);
typedef OSStatus (* SOMLINK somTD_HIAlert_RegisterInterestInAppleEvent)(HIAlert *somSelf, Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting);
typedef boolean (* SOMLINK somTD_HIAlert_HasValidContent)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_GetDeepCollectionItemData)(HIAlert *somSelf, Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData);
typedef HIWindow* (* SOMLINK somTD_HIAlert_GetWindow)(HIAlert *somSelf, Environment *ev);
typedef CGrafPtr (* SOMLINK somTD_HIAlert_GetPort)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_GetRefLabel)(HIAlert *somSelf, Environment *ev,
RefLabel* identifier);
typedef Collection (* SOMLINK somTD_HIAlert_GetCollection)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_Init)(HIAlert *somSelf, Environment *ev,
RefLabel* identifier,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIAlert_Terminate)(HIAlert *somSelf, Environment *ev);
typedef HIObject* (* SOMLINK somTD_HIAlert_Clone)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_Release)(HIAlert *somSelf, Environment *ev);
typedef ItemCount (* SOMLINK somTD_HIAlert_GetOwnerCount)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_InitFromAERecord)(HIAlert *somSelf, Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat);
typedef OSStatus (* SOMLINK somTD_HIAlert_WriteToAERecord)(HIAlert *somSelf, Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat);
typedef void (* SOMLINK somTD_HIAlert_CalculateOptimalSize)(HIAlert *somSelf, Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight);
typedef void (* SOMLINK somTD_HIAlert_GetBoundingRect)(HIAlert *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect);
typedef void (* SOMLINK somTD_HIAlert_SetBoundingRect)(HIAlert *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect);
typedef void (* SOMLINK somTD_HIAlert_SetPosition)(HIAlert *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition);
typedef void (* SOMLINK somTD_HIAlert_SetSize)(HIAlert *somSelf, Environment *ev,
SInt16 width,
SInt16 height);
typedef void (* SOMLINK somTD_HIAlert_GetUpdateRect)(HIAlert *somSelf, Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect);
typedef void (* SOMLINK somTD_HIAlert_Enable)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_Disable)(HIAlert *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIAlert_IsEnabled)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_Show)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_Hide)(HIAlert *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIAlert_IsVisible)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_HandleAppleEvent)(HIAlert *somSelf, Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAlert_HandleActivate)(HIAlert *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAlert_HandleDeactivate)(HIAlert *somSelf, Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAlert_HandleNavigation)(HIAlert *somSelf, Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAlert_HandleMouseDownInContent)(HIAlert *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAlert_HandleMouseMovedInContent)(HIAlert *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAlert_HandleMouseStoppedMovingInContent)(HIAlert *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef OSStatus (* SOMLINK somTD_HIAlert_HandleMouseUpInContent)(HIAlert *somSelf, Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef);
typedef void (* SOMLINK somTD_HIAlert_TakeUserInputFocus)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_ReleaseUserInputFocus)(HIAlert *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIAlert_HasUserInputFocus)(HIAlert *somSelf, Environment *ev);
typedef boolean (* SOMLINK somTD_HIAlert_CanReleaseUserInputFocus)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_SetUserInputFocusFlags)(HIAlert *somSelf, Environment *ev,
HIUserInputFocusFlags flags);
typedef HIUserInputFocusFlags (* SOMLINK somTD_HIAlert_GetUserInputFocusFlags)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_SetTitle)(HIAlert *somSelf, Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags);
typedef OSStatus (* SOMLINK somTD_HIAlert_GetTitle)(HIAlert *somSelf, Environment *ev,
HIImageRef* title);
typedef void (* SOMLINK somTD_HIAlert_Draw)(HIAlert *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIAlert_Erase)(HIAlert *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn);
typedef void (* SOMLINK somTD_HIAlert_Invalidate)(HIAlert *somSelf, Environment *ev);
typedef HIDrawingMode (* SOMLINK somTD_HIAlert_GetDrawingMode)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_SetDrawingMode)(HIAlert *somSelf, Environment *ev,
HIDrawingMode drawingMode);
typedef void (* SOMLINK somTD_HIAlert_SetBackgroundPattern)(HIAlert *somSelf, Environment *ev,
PixPatHandle backgroundPattern);
typedef PixPatHandle (* SOMLINK somTD_HIAlert_GetBackgroundPattern)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_Cut)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_Copy)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_Paste)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_Clear)(HIAlert *somSelf, Environment *ev);
typedef HIClipboardSupportFlags (* SOMLINK somTD_HIAlert_GetClipboardSupportFlags)(HIAlert *somSelf, Environment *ev);
typedef OSStatus (* SOMLINK somTD_HIAlert_AddStateChangeCallback)(HIAlert *somSelf, Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef);
typedef OSStatus (* SOMLINK somTD_HIAlert_RemoveStateChangeCallback)(HIAlert *somSelf, Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove);
typedef OSStatus (* SOMLINK somTD_HIAlert_GetHIObjectFromRefLabel)(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects);
typedef OSStatus (* SOMLINK somTD_HIAlert_GetNewHIObject)(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject);
typedef OSStatus (* SOMLINK somTD_HIAlert_GetNewHIObjectFromResource)(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject);
typedef void (* SOMLINK somTD_HIAlert_DrawContent)(HIAlert *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn);
typedef void (* SOMLINK somTD_HIAlert_EraseContent)(HIAlert *somSelf, Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase);
typedef void (* SOMLINK somTD_HIAlert_TranslatePoint)(HIAlert *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint);
typedef void (* SOMLINK somTD_HIAlert_TranslateRect)(HIAlert *somSelf, Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect);
typedef void (* SOMLINK somTD_HIAlert_StateChanged)(HIAlert *somSelf, Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode);
typedef void (* SOMLINK somTD_HIAlert_SetClipboardSupportFlags)(HIAlert *somSelf, Environment *ev,
HIClipboardSupportFlags flags);
typedef OSStatus (* SOMLINK somTD_HIAlert_Verify)(HIAlert *somSelf, Environment *ev);
typedef void (* SOMLINK somTD_HIAlert_somInit)(HIAlert *somSelf);
typedef void (* SOMLINK somTD_HIAlert_somUninit)(HIAlert *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIAlert_somDuplicateReference)(HIAlert *somSelf);
typedef boolean (* SOMLINK somTD_HIAlert_somCompareReference)(HIAlert *somSelf,
SOMObject* anObject);
typedef SOMObject* (* SOMLINK somTD_HIAlert_somRelease)(HIAlert *somSelf);
typedef void (* SOMLINK somTD_HIAlert_somFree)(HIAlert *somSelf);
typedef boolean (* SOMLINK somTD_HIAlert_somCanDelete)(HIAlert *somSelf);
typedef SOMClass* (* SOMLINK somTD_HIAlert_somGetClass)(HIAlert *somSelf);
typedef corbastring (* SOMLINK somTD_HIAlert_somGetClassName)(HIAlert *somSelf);
typedef long (* SOMLINK somTD_HIAlert_somGetSize)(HIAlert *somSelf);
typedef boolean (* SOMLINK somTD_HIAlert_somIsA)(HIAlert *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIAlert_somRespondsTo)(HIAlert *somSelf,
somId mId);
typedef boolean (* SOMLINK somTD_HIAlert_somIsInstanceOf)(HIAlert *somSelf,
SOMClass* aClassObj);
typedef boolean (* SOMLINK somTD_HIAlert_somDispatch)(HIAlert *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIAlert_somClassDispatch)(HIAlert *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef boolean (* SOMLINK somTD_HIAlert_somCastObj)(HIAlert *somSelf,
SOMClass* cls);
typedef boolean (* SOMLINK somTD_HIAlert_somResetObj)(HIAlert *somSelf);
typedef SOMObject* (* SOMLINK somTD_HIAlert_somPrintSelf)(HIAlert *somSelf);
typedef void (* SOMLINK somTD_HIAlert_somDumpSelf)(HIAlert *somSelf,
long level);
typedef void (* SOMLINK somTD_HIAlert_somDumpSelfInt)(HIAlert *somSelf,
long level);
}
#endif /* HIAlert_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for HIAlert
*/
class HIAlert : public HIModalDialog
{
public:
// HIAlert::new registers use of the class object, and then uses somNew
// to allocate memory and load the object method table pointer.
void *operator new(size_t size)
{
SOM_IgnoreWarning(size);
// Allocate memory using the default allocator for HIAlert, and
// clear mem & set method table pointer, call basic initialization
return (void*) somNewObject(HIAlert);
}
// HIAlert::delete uses the default deallocator for the object's class.
void operator delete(void * obj)
{
if (obj) {
SOM_Resolve(obj,SOMObject,somFree)
( (SOMObject*) obj );
}
}
/* method: InitAlert */
OSStatus InitAlert(Environment *ev,
RefLabel* identifier,
Rect* screenBounds,
HIAlertType alertType)
{
return SOM_ResolveD(this,HIAlert,HIAlert,InitAlert)
(this,ev,identifier,screenBounds,alertType);
}
/*
* -- Inherited methods
*/
/* method: InitModalDialog */
OSStatus InitModalDialog(Environment *ev,
RefLabel* identifier,
Rect* screenBounds,
boolean moveable)
{
return SOM_ResolveD(this,HIAlert,HIModalDialog,InitModalDialog)
(this,ev,identifier,screenBounds,moveable);
}
/* method: GetModalAEHandlerTable */
AEHandlerTableRef GetModalAEHandlerTable(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIModalDialog,GetModalAEHandlerTable)
(this,ev);
}
/* method: ExecuteModality */
void ExecuteModality(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIModalDialog,ExecuteModality)
(this,ev);
}
/* method: InitDialog */
OSStatus InitDialog(Environment *ev,
RefLabel* identifier,
HIWindow* window)
{
return SOM_ResolveD(this,HIAlert,HIDialog,InitDialog)
(this,ev,identifier,window);
}
/* method: SetDefaultPushButton */
OSStatus SetDefaultPushButton(Environment *ev,
HIPushButton* defaultSubPanel,
boolean isDismissing)
{
return SOM_ResolveD(this,HIAlert,HIDialog,SetDefaultPushButton)
(this,ev,defaultSubPanel,isDismissing);
}
/* method: GetDefaultPushButton */
HIPushButton* GetDefaultPushButton(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIDialog,GetDefaultPushButton)
(this,ev);
}
/* method: SetCancelPushButton */
OSStatus SetCancelPushButton(Environment *ev,
HIPushButton* cancelSubPanel,
boolean isDismissing)
{
return SOM_ResolveD(this,HIAlert,HIDialog,SetCancelPushButton)
(this,ev,cancelSubPanel,isDismissing);
}
/* method: GetCancelPushButton */
HIPushButton* GetCancelPushButton(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIDialog,GetCancelPushButton)
(this,ev);
}
/* method: SetDismissingSubPanel */
OSStatus SetDismissingSubPanel(Environment *ev,
HIPushButton* subPanel,
boolean isDismissing)
{
return SOM_ResolveD(this,HIAlert,HIDialog,SetDismissingSubPanel)
(this,ev,subPanel,isDismissing);
}
/* method: IsDismissingSubPanel */
boolean IsDismissingSubPanel(Environment *ev,
HIPushButton* subPanel)
{
return SOM_ResolveD(this,HIAlert,HIDialog,IsDismissingSubPanel)
(this,ev,subPanel);
}
/* method: GetNextUserInputFocussedSubPanel */
HIPanel* GetNextUserInputFocussedSubPanel(Environment *ev,
boolean goingBackwards)
{
return SOM_ResolveD(this,HIAlert,HIDialog,GetNextUserInputFocussedSubPanel)
(this,ev,goingBackwards);
}
/* method: Dismiss */
boolean Dismiss(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIDialog,Dismiss)
(this,ev);
}
/* method: InitRootPanel */
OSStatus InitRootPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window)
{
return SOM_ResolveD(this,HIAlert,HIRootPanel,InitRootPanel)
(this,ev,identifier,window);
}
/* method: AdjustAccumulatedEraseRgn */
void AdjustAccumulatedEraseRgn(Environment *ev,
HIAccumulatorOperation accumulatorOperation,
Rect* oldRectangle,
Rect* newRectangle)
{
SOM_ResolveD(this,HIAlert,HIRootPanel,AdjustAccumulatedEraseRgn)
(this,ev,accumulatorOperation,oldRectangle,newRectangle);
}
/* method: EraseAccumulatedEraseRgn */
void EraseAccumulatedEraseRgn(Environment *ev,
CGrafPtr targetPort)
{
SOM_ResolveD(this,HIAlert,HIRootPanel,EraseAccumulatedEraseRgn)
(this,ev,targetPort);
}
/* method: GetSubPanelCount */
ItemCount GetSubPanelCount(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIEmbeddingPanel,GetSubPanelCount)
(this,ev);
}
/* method: GetLastSelectedSubPanel */
HIPanel* GetLastSelectedSubPanel(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIEmbeddingPanel,GetLastSelectedSubPanel)
(this,ev);
}
/* method: InitEmbeddingPanel */
OSStatus InitEmbeddingPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIAlert,HIEmbeddingPanel,InitEmbeddingPanel)
(this,ev,identifier,window,bounds);
}
/* method: AddSubPanel */
OSStatus AddSubPanel(Environment *ev,
HIPanel* subPanel,
HISubPanelIndex where,
HIAdoptionFlags adoptionFlags,
HIFrameBindingFlags frameBindingFlags)
{
return SOM_ResolveD(this,HIAlert,HIEmbeddingPanel,AddSubPanel)
(this,ev,subPanel,where,adoptionFlags,frameBindingFlags);
}
/* method: RemoveSubPanel */
OSStatus RemoveSubPanel(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIAlert,HIEmbeddingPanel,RemoveSubPanel)
(this,ev,subPanel);
}
/* method: GetSubPanel */
HIPanel* GetSubPanel(Environment *ev,
HISubPanelIndex subPanelIndex)
{
return SOM_ResolveD(this,HIAlert,HIEmbeddingPanel,GetSubPanel)
(this,ev,subPanelIndex);
}
/* method: GetUserInputFocusSubPanel */
HIPanel* GetUserInputFocusSubPanel(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIEmbeddingPanel,GetUserInputFocusSubPanel)
(this,ev);
}
/* method: SetUserInputFocusSubPanel */
OSStatus SetUserInputFocusSubPanel(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIAlert,HIEmbeddingPanel,SetUserInputFocusSubPanel)
(this,ev,subPanel);
}
/* method: GetSubPanelIndex */
HISubPanelIndex GetSubPanelIndex(Environment *ev,
HIPanel* subPanel)
{
return SOM_ResolveD(this,HIAlert,HIEmbeddingPanel,GetSubPanelIndex)
(this,ev,subPanel);
}
/* method: GetSubPanelsFromRefLabel */
OSStatus GetSubPanelsFromRefLabel(Environment *ev,
RefLabel* identifier,
boolean deep,
ItemCount requestedSubPanels,
ItemCount* totalSubPanels,
HIPanel** thePanels)
{
return SOM_ResolveD(this,HIAlert,HIEmbeddingPanel,GetSubPanelsFromRefLabel)
(this,ev,identifier,deep,requestedSubPanels,totalSubPanels,thePanels);
}
/* method: GetEmbeddingParent */
HIEmbeddingPanel* GetEmbeddingParent(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIPanel,GetEmbeddingParent)
(this,ev);
}
/* method: InitPanel */
OSStatus InitPanel(Environment *ev,
RefLabel* identifier,
HIWindow* window,
Rect* bounds)
{
return SOM_ResolveD(this,HIAlert,HIPanel,InitPanel)
(this,ev,identifier,window,bounds);
}
/* method: RegisterInterestInAppleEvent */
OSStatus RegisterInterestInAppleEvent(Environment *ev,
AEHandlerTableRef table,
AEEventClass eventClass,
AEEventID eventID,
HIEventRoutingType eventRouting)
{
return SOM_ResolveD(this,HIAlert,HIPanel,RegisterInterestInAppleEvent)
(this,ev,table,eventClass,eventID,eventRouting);
}
/* method: HasValidContent */
boolean HasValidContent(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIPanel,HasValidContent)
(this,ev);
}
/* method: GetDeepCollectionItemData */
OSStatus GetDeepCollectionItemData(Environment *ev,
CollectionTag tag,
SInt32 id,
ByteCount sizeAllowed,
ByteCount* sizeReturned,
void* itemData)
{
return SOM_ResolveD(this,HIAlert,HIPanel,GetDeepCollectionItemData)
(this,ev,tag,id,sizeAllowed,sizeReturned,itemData);
}
/* method: GetWindow */
HIWindow* GetWindow(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,GetWindow)
(this,ev);
}
/* method: GetPort */
CGrafPtr GetPort(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,GetPort)
(this,ev);
}
/* method: GetRefLabel */
void GetRefLabel(Environment *ev,
RefLabel* identifier)
{
SOM_ResolveD(this,HIAlert,HIObject,GetRefLabel)
(this,ev,identifier);
}
/* method: GetCollection */
Collection GetCollection(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,GetCollection)
(this,ev);
}
/* method: Init */
OSStatus Init(Environment *ev,
RefLabel* identifier,
Rect* boundingRect)
{
return SOM_ResolveD(this,HIAlert,HIObject,Init)
(this,ev,identifier,boundingRect);
}
/* method: Terminate */
void Terminate(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,Terminate)
(this,ev);
}
/* method: Clone */
HIObject* Clone(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,Clone)
(this,ev);
}
/* method: Release */
void Release(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,Release)
(this,ev);
}
/* method: GetOwnerCount */
ItemCount GetOwnerCount(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,GetOwnerCount)
(this,ev);
}
/* method: InitFromAERecord */
OSStatus InitFromAERecord(Environment *ev,
AESubDesc* baseInitializerData,
AESubDesc* initializerDataForClass,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIAlert,HIObject,InitFromAERecord)
(this,ev,baseInitializerData,initializerDataForClass,dataFormat);
}
/* method: WriteToAERecord */
OSStatus WriteToAERecord(Environment *ev,
AERecord* dataForSubclass,
AERecord* objectData,
HIAERecordDataFormat dataFormat)
{
return SOM_ResolveD(this,HIAlert,HIObject,WriteToAERecord)
(this,ev,dataForSubclass,objectData,dataFormat);
}
/* method: CalculateOptimalSize */
void CalculateOptimalSize(Environment *ev,
SInt16* optimalWidth,
SInt16* optimalHeight)
{
SOM_ResolveD(this,HIAlert,HIObject,CalculateOptimalSize)
(this,ev,optimalWidth,optimalHeight);
}
/* method: GetBoundingRect */
void GetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* boundingRect)
{
SOM_ResolveD(this,HIAlert,HIObject,GetBoundingRect)
(this,ev,coordinate,boundingRect);
}
/* method: SetBoundingRect */
void SetBoundingRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* newBoundingRect)
{
SOM_ResolveD(this,HIAlert,HIObject,SetBoundingRect)
(this,ev,coordinate,newBoundingRect);
}
/* method: SetPosition */
void SetPosition(Environment *ev,
HICoordinateSystem coordinate,
Point* newPosition)
{
SOM_ResolveD(this,HIAlert,HIObject,SetPosition)
(this,ev,coordinate,newPosition);
}
/* method: SetSize */
void SetSize(Environment *ev,
SInt16 width,
SInt16 height)
{
SOM_ResolveD(this,HIAlert,HIObject,SetSize)
(this,ev,width,height);
}
/* method: GetUpdateRect */
void GetUpdateRect(Environment *ev,
HICoordinateSystem coordinate,
Rect* updateRect)
{
SOM_ResolveD(this,HIAlert,HIObject,GetUpdateRect)
(this,ev,coordinate,updateRect);
}
/* method: Enable */
void Enable(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,Enable)
(this,ev);
}
/* method: Disable */
void Disable(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,Disable)
(this,ev);
}
/* method: IsEnabled */
boolean IsEnabled(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,IsEnabled)
(this,ev);
}
/* method: Show */
void Show(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,Show)
(this,ev);
}
/* method: Hide */
void Hide(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,Hide)
(this,ev);
}
/* method: IsVisible */
boolean IsVisible(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,IsVisible)
(this,ev);
}
/* method: HandleAppleEvent */
OSStatus HandleAppleEvent(Environment *ev,
AEEventClass eventClass,
AEEventID eventID,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAlert,HIObject,HandleAppleEvent)
(this,ev,eventClass,eventID,theEvent,reply,handlerTableRef);
}
/* method: HandleActivate */
OSStatus HandleActivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAlert,HIObject,HandleActivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleDeactivate */
OSStatus HandleDeactivate(Environment *ev,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAlert,HIObject,HandleDeactivate)
(this,ev,theEvent,reply,handlerTableRef);
}
/* method: HandleNavigation */
OSStatus HandleNavigation(Environment *ev,
SInt8 key,
SInt8 keyCode,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAlert,HIObject,HandleNavigation)
(this,ev,key,keyCode,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseDownInContent */
OSStatus HandleMouseDownInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAlert,HIObject,HandleMouseDownInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseMovedInContent */
OSStatus HandleMouseMovedInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAlert,HIObject,HandleMouseMovedInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseStoppedMovingInContent */
OSStatus HandleMouseStoppedMovingInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAlert,HIObject,HandleMouseStoppedMovingInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: HandleMouseUpInContent */
OSStatus HandleMouseUpInContent(Environment *ev,
Point* portLocalWhere,
EventModifiers modifiers,
AppleEvent* theEvent,
AppleEvent* reply,
AEHandlerTableRef handlerTableRef)
{
return SOM_ResolveD(this,HIAlert,HIObject,HandleMouseUpInContent)
(this,ev,portLocalWhere,modifiers,theEvent,reply,handlerTableRef);
}
/* method: TakeUserInputFocus */
void TakeUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,TakeUserInputFocus)
(this,ev);
}
/* method: ReleaseUserInputFocus */
void ReleaseUserInputFocus(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,ReleaseUserInputFocus)
(this,ev);
}
/* method: HasUserInputFocus */
boolean HasUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,HasUserInputFocus)
(this,ev);
}
/* method: CanReleaseUserInputFocus */
boolean CanReleaseUserInputFocus(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,CanReleaseUserInputFocus)
(this,ev);
}
/* method: SetUserInputFocusFlags */
void SetUserInputFocusFlags(Environment *ev,
HIUserInputFocusFlags flags)
{
SOM_ResolveD(this,HIAlert,HIObject,SetUserInputFocusFlags)
(this,ev,flags);
}
/* method: GetUserInputFocusFlags */
HIUserInputFocusFlags GetUserInputFocusFlags(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,GetUserInputFocusFlags)
(this,ev);
}
/* method: SetTitle */
OSStatus SetTitle(Environment *ev,
ConstHIImageRef title,
HIAdoptionFlags disposalAdoptionFlags)
{
return SOM_ResolveD(this,HIAlert,HIObject,SetTitle)
(this,ev,title,disposalAdoptionFlags);
}
/* method: GetTitle */
OSStatus GetTitle(Environment *ev,
HIImageRef* title)
{
return SOM_ResolveD(this,HIAlert,HIObject,GetTitle)
(this,ev,title);
}
/* method: Draw */
void Draw(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIAlert,HIObject,Draw)
(this,ev,whichPort,drawRgn);
}
/* method: Erase */
void Erase(Environment *ev,
CGrafPtr whichPort,
RgnHandle eraseRgn)
{
SOM_ResolveD(this,HIAlert,HIObject,Erase)
(this,ev,whichPort,eraseRgn);
}
/* method: Invalidate */
void Invalidate(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,Invalidate)
(this,ev);
}
/* method: GetDrawingMode */
HIDrawingMode GetDrawingMode(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,GetDrawingMode)
(this,ev);
}
/* method: SetDrawingMode */
void SetDrawingMode(Environment *ev,
HIDrawingMode drawingMode)
{
SOM_ResolveD(this,HIAlert,HIObject,SetDrawingMode)
(this,ev,drawingMode);
}
/* method: SetBackgroundPattern */
void SetBackgroundPattern(Environment *ev,
PixPatHandle backgroundPattern)
{
SOM_ResolveD(this,HIAlert,HIObject,SetBackgroundPattern)
(this,ev,backgroundPattern);
}
/* method: GetBackgroundPattern */
PixPatHandle GetBackgroundPattern(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,GetBackgroundPattern)
(this,ev);
}
/* method: Cut */
void Cut(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,Cut)
(this,ev);
}
/* method: Copy */
void Copy(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,Copy)
(this,ev);
}
/* method: Paste */
void Paste(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,Paste)
(this,ev);
}
/* method: Clear */
void Clear(Environment *ev)
{
SOM_ResolveD(this,HIAlert,HIObject,Clear)
(this,ev);
}
/* method: GetClipboardSupportFlags */
HIClipboardSupportFlags GetClipboardSupportFlags(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,GetClipboardSupportFlags)
(this,ev);
}
/* method: AddStateChangeCallback */
OSStatus AddStateChangeCallback(Environment *ev,
HIStateChangeCallbackProcPtr changedStateCallback,
HIStateChangeCallbackRef* newCallbackRef)
{
return SOM_ResolveD(this,HIAlert,HIObject,AddStateChangeCallback)
(this,ev,changedStateCallback,newCallbackRef);
}
/* method: RemoveStateChangeCallback */
OSStatus RemoveStateChangeCallback(Environment *ev,
HIStateChangeCallbackRef callbackRefToRemove)
{
return SOM_ResolveD(this,HIAlert,HIObject,RemoveStateChangeCallback)
(this,ev,callbackRefToRemove);
}
/* noself procedure: GetHIObjectFromRefLabel */
static OSStatus GetHIObjectFromRefLabel(Environment *ev,
RefLabel* identifier,
ItemCount requestedObjects,
ItemCount* totalObjects,
HIObject** theObjects)
{
return ((somTD_HIAlert_GetHIObjectFromRefLabel)HIObjectClassData.GetHIObjectFromRefLabel)
(ev,identifier,requestedObjects,totalObjects,theObjects);
}
/* noself procedure: GetNewHIObject */
static OSStatus GetNewHIObject(Environment *ev,
AESubDesc* objectInitializer,
HIObject** newObject)
{
return ((somTD_HIAlert_GetNewHIObject)HIObjectClassData.GetNewHIObject)
(ev,objectInitializer,newObject);
}
/* noself procedure: GetNewHIObjectFromResource */
static OSStatus GetNewHIObjectFromResource(Environment *ev,
ResID objectInitializerResourceID,
HIObject** newObject)
{
return ((somTD_HIAlert_GetNewHIObjectFromResource)HIObjectClassData.GetNewHIObjectFromResource)
(ev,objectInitializerResourceID,newObject);
}
/* method: DrawContent */
void DrawContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle drawRgn)
{
SOM_ResolveD(this,HIAlert,HIObject,DrawContent)
(this,ev,whichPort,drawRgn);
}
/* method: EraseContent */
void EraseContent(Environment *ev,
CGrafPtr whichPort,
RgnHandle regionToErase)
{
SOM_ResolveD(this,HIAlert,HIObject,EraseContent)
(this,ev,whichPort,regionToErase);
}
/* method: TranslatePoint */
void TranslatePoint(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Point* sourcePoint,
Point* translatedPoint)
{
SOM_ResolveD(this,HIAlert,HIObject,TranslatePoint)
(this,ev,translateFrom,translateTo,sourcePoint,translatedPoint);
}
/* method: TranslateRect */
void TranslateRect(Environment *ev,
HICoordinateSystem translateFrom,
HICoordinateSystem translateTo,
Rect* sourceRect,
Rect* translatedRect)
{
SOM_ResolveD(this,HIAlert,HIObject,TranslateRect)
(this,ev,translateFrom,translateTo,sourceRect,translatedRect);
}
/* method: StateChanged */
void StateChanged(Environment *ev,
HIStateChangeCodeCreator selectorCreator,
HIStateChangeCode changedCode)
{
SOM_ResolveD(this,HIAlert,HIObject,StateChanged)
(this,ev,selectorCreator,changedCode);
}
/* method: SetClipboardSupportFlags */
void SetClipboardSupportFlags(Environment *ev,
HIClipboardSupportFlags flags)
{
SOM_ResolveD(this,HIAlert,HIObject,SetClipboardSupportFlags)
(this,ev,flags);
}
/* method: Verify */
OSStatus Verify(Environment *ev)
{
return SOM_ResolveD(this,HIAlert,HIObject,Verify)
(this,ev);
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,HIAlert,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,HIAlert,SOMObject,somUninit)
(this);
}
/* method: somDuplicateReference */
SOMObject* somDuplicateReference()
{
return SOM_ResolveD(this,HIAlert,SOMObject,somDuplicateReference)
(this);
}
/* method: somCompareReference */
boolean somCompareReference(SOMObject* anObject)
{
return SOM_ResolveD(this,HIAlert,SOMObject,somCompareReference)
(this,anObject);
}
/* method: somRelease */
SOMObject* somRelease()
{
return SOM_ResolveD(this,HIAlert,SOMObject,somRelease)
(this);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,HIAlert,SOMObject,somFree)
(this);
}
/* method: somCanDelete */
boolean somCanDelete()
{
return SOM_ResolveD(this,HIAlert,SOMObject,somCanDelete)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,HIAlert,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
corbastring somGetClassName()
{
return SOM_ResolveD(this,HIAlert,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,HIAlert,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIAlert,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,HIAlert,SOMObject,somRespondsTo)
(this,mId);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,HIAlert,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean HIAlert_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIAlert,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIAlert,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean HIAlert_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{
return SOM_ResolveD(this,HIAlert,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
(boolean) SOM_ResolveD(this,HIAlert,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,HIAlert,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,HIAlert,SOMObject,somResetObj)
(this);
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,HIAlert,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,HIAlert,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,HIAlert,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* HIAlert */
#endif /* SOM_HIAlert_xh */